package com.sanjin.repository;

import com.sanjin.entity.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @description:
 * @author: sanjin
 * @date: 2019/5/4 18:55
 */
public interface AdminRepository extends JpaRepository<Admin, Integer> {

    Admin findByUsername(String username);
}
